package com.itshops.service;

import com.itshops.entity.Address;

import java.sql.SQLException;
import java.util.List;

public interface AddressService {
    List<Address> findAll(int uid) throws SQLException;

    void addAddress(Address address) throws SQLException;

    void deleteAddress(String aid) throws SQLException;

    void setAddressDefault(String aid, int uid) throws SQLException;

    void updateAddress(Address address) throws SQLException;
}
